#include "MyGraphicsView.h"


MyGraphicsView::MyGraphicsView(QWidget* parent) :
    QGraphicsView(parent)
{
    setRenderHint(QPainter::Antialiasing);
    setBackgroundBrush(QPixmap("../shared/map.jpg"));
    setCacheMode(QGraphicsView::CacheBackground);

    setScene(new QGraphicsScene);
    show();
}


MyGraphicsView::~MyGraphicsView()
{
}

